package routers

import (
	beego "github.com/beego/beego/v2/adapter"
	"weiboxs.com/new_h_glasses/controllers"
)

func init() {

	//档案管理
	beego.Router("/archives/index", &controllers.ArchivesController{}, "*:Index")
	beego.Router("/archives/datagrid", &controllers.ArchivesController{}, "Get,Post:DataGrid")
	beego.Router("/archives/delete", &controllers.ArchivesController{}, "Post:Delete")
	beego.Router("/archives/edit/?:id", &controllers.ArchivesController{}, "Get,Post:Edit")
	beego.Router("/archives/edit_opt/?:id", &controllers.ArchivesController{}, "Get,Post:EditForOpt")
	beego.Router("/archives/get_his_userinfo", &controllers.ArchivesController{}, "Post:GetHisUserInfo")
	beego.Router("/archives/view_one/?:id", &controllers.ArchivesController{}, "Post:ViewOne")
	beego.Router("/archives/select", &controllers.ArchivesController{}, "Post,Get:SelectArchives")
	beego.Router("/archives/wechat_follows", &controllers.ArchivesController{}, "Post:GetWechatFollows")
	beego.Router("/archives/save_interrogations", &controllers.ArchivesController{}, "Post:SaveInterrogations")
	beego.Router("/archives/get_interrogations/?:id", &controllers.ArchivesController{}, "Post:GetInterrogations")
	beego.Router("/archives/guahao", &controllers.ArchivesController{}, "Get,Post:Guahao")
	beego.Router("/archives/guahao/save", &controllers.ArchivesController{}, "Post:GuahaoSave")
	beego.Router("/archives/guahao/out", &controllers.ArchivesController{}, "Post:GuahaoOut")

	//医生问诊
	beego.Router("/outpatient/index", &controllers.OutpatientController{}, "Post,Get:Index")
	beego.Router("/outpatient/post_inspect", &controllers.OutpatientController{}, "Post:PostInspect") //检查
	beego.Router("/outpatient/view/?:id", &controllers.OutpatientController{}, "Post,Get:View")
	beego.Router("/outpatient/view/save_interrogations", &controllers.OutpatientController{}, "Post:SaveInterrogations")    //保存问诊
	beego.Router("/outpatient/view/get_interrogations/?:id", &controllers.OutpatientController{}, "Post:GetInterrogations") //获取问诊
	beego.Router("/followup/datagrid", &controllers.FollowupController{}, "Post:DataGrid")                                  //随访数据
	beego.Router("/followup/delete", &controllers.FollowupController{}, "Post:Delete")                                      //删除随访数据
	beego.Router("/followup/add", &controllers.FollowupController{}, "Get,Post:Add")                                        //添加随访数据
	beego.Router("/outpatient/save_inspects", &controllers.OutpatientController{}, "Post:SaveInspect")                      //保存检查项目
	beego.Router("/outpatient/delete_inspects", &controllers.OutpatientController{}, "Post:DeleteInspect")                  //保存检查项目

	//收费
	beego.Router("/collectfees/index", &controllers.CollectfeesController{}, "Get:Index")                                 //收费
	beego.Router("/collectfees/wait_account_user", &controllers.CollectfeesController{}, "Post:GetWaitAccountUser")       //收费
	beego.Router("/collectfees/save_account", &controllers.CollectfeesController{}, "Post:SaveAccountList")               //保存结帐
	beego.Router("/collectfees/logs", &controllers.CollectfeesController{}, "Get,Post:Logs")                              //结帐记录
	beego.Router("/collectfees/logs_detail", &controllers.CollectfeesController{}, "Get,Post:LogsDetail")                 //结帐明细
	beego.Router("/collectfees/logs_out", &controllers.CollectfeesController{}, "Get,Post:LogsOut")                       //门诊退费
	beego.Router("/collectfees/wait_dispensing_user", &controllers.CollectfeesController{}, "Post:GetWaitDispensingUser") //待发药用户
	beego.Router("/collectfees/dispensing", &controllers.CollectfeesController{}, "Get,Post:Dispensing")                  //药房发药
	beego.Router("/collectfees/dispensing_logs", &controllers.CollectfeesController{}, "Get,Post:DispensingLogs")         //发药记录

	//产品零售
	beego.Router("/retail/add", &controllers.RetailController{}, "Get,Post:Add")                                            //添加零售
	beego.Router("/retail/add/sales", &controllers.RetailController{}, "Post:AddSales")                                     //保存零售信息
	beego.Router("/retail/clear/sales", &controllers.RetailController{}, "Post:ClearSales")                                 //清除零售信息
	beego.Router("/retail/optometry", &controllers.RetailController{}, "Post:Optometry")                                    //获取验光记录
	beego.Router("/retail/optometry/more", &controllers.RetailController{}, "Get,Post:OptometryMore")                       //获取验光记录
	beego.Router("/retail/inventory/list", &controllers.RetailController{}, "Get,Post:InventoryList")                       //获取产品库存
	beego.Router("/retail/pick_up_pay_confirm", &controllers.RetailController{}, "Get,Post:PickupPayConfirm")               //取镜结算
	beego.Router("/retail/sendout_pickup_pay_confirm", &controllers.RetailController{}, "Get,Post:SendoutPickupPayConfirm") //发货结算
	beego.Router("/retail/query_retail_info", &controllers.RetailController{}, "Post:QueryRetailInfo")                      //查询单据详情
	beego.Router("/retail/pick_up_paycomfirm", &controllers.RetailController{}, "Post:PickUpPaycomfirm")                    //金额结算
	beego.Router("/retail/index", &controllers.RetailController{}, "Get,Post:Index")                                        //销售记录
	beego.Router("/retail/extract", &controllers.RetailController{}, "Get,Post:Extract")                                    //取镜
	beego.Router("retail/pickup", &controllers.RetailController{}, "Get,Post:Pickup")                                       //取镜记录
	beego.Router("retail/pickup_goods_list", &controllers.RetailController{}, "Get,Post:PickUpGoodsList")                   //取镜记录商品明细
	beego.Router("retail/refund", &controllers.RetailController{}, "Get,Post:Refund")                                       //销售退货单
	beego.Router("retail/refund/confirm", &controllers.RetailController{}, "Get,Post:RefundConfirm")                        //确认退货
	beego.Router("retail/refund/confirm/save", &controllers.RetailController{}, "Post:SaveConfirmRefund")                   //保存退货
	beego.Router("retail/refund_query", &controllers.RetailController{}, "Get,Post:RefundQuery")                            //退货查询
	beego.Router("retail/refund/view", &controllers.RetailController{}, "Get,Post:RefundView")                              //退货清单
	beego.Router("retail/dailyreport", &controllers.RetailController{}, "Get,Post:DailyReport")                             //今日营业情况
	beego.Router("retail/datagrid", &controllers.RetailController{}, "Get,Post:DataGrid")                                   //单据数据
	beego.Router("retail/view", &controllers.RetailController{}, "Get,Post:View")                                           //查看单据
	beego.Router("retail/printer/?:id", &controllers.RetailController{}, "Get,Post:Printer")                                //单据打印
	beego.Router("retail/custom", &controllers.RetailController{}, "Get,Post:Custom")                                       //订制选择
	beego.Router("retail/custom/save", &controllers.RetailController{}, "Get,Post:CustomSave")                              //保存订制
	beego.Router("retail/discard", &controllers.RetailController{}, "Post:Discard")                                         //单据作废
	beego.Router("retail/history", &controllers.RetailController{}, "Get,Post:History")                                     //销售历史
	beego.Router("product/excel_retails", &controllers.RetailController{}, "Post:DownloadExcelRetails")                     //下载销售盘点

	//验光信息
	beego.Router("optometry/index", &controllers.OptometryController{}, "*:Index")
	beego.Router("optometry/datagrid", &controllers.OptometryController{}, "Get,Post:DataGrid")
	beego.Router("optometry/delete", &controllers.OptometryController{}, "Post:Delete")
	beego.Router("optometry/add", &controllers.OptometryController{}, "Get,Post:Add")
	beego.Router("optometry/edit", &controllers.OptometryController{}, "Get,Post:Edit")
	beego.Router("optometry/view/?:id", &controllers.OptometryController{}, "Post,Get:View")
	beego.Router("optometry/view_one/?:id", &controllers.OptometryController{}, "Post,Get:ViewOne")
	beego.Router("optometry/list", &controllers.OptometryController{}, "Post,Get:List")

	//处方开具
	beego.Router("presc/index", &controllers.PrescController{}, "Get,Post:Index")
	beego.Router("presc/prescription", &controllers.PrescController{}, "Get,Post:Prescription")
	beego.Router("presc/often_porject", &controllers.PrescController{}, "Post:OftenProject")
	beego.Router("presc/save_prescription", &controllers.PrescController{}, "Post:SavePrescription")
	beego.Router("presc/diagnosis", &controllers.PrescController{}, "Post:Diagnosis")
	beego.Router("presc/doctororder/query", &controllers.PrescController{}, "Post:DoctorOrderQuery")
	beego.Router("presc/doctororder/action", &controllers.PrescController{}, "Post:DoctorOrderAction")

	//配置
	beego.Router("options/index", &controllers.OptionsController{}, "*:Index")
	beego.Router("options/datagrid", &controllers.OptionsController{}, "Get,Post:DataGrid")
	beego.Router("options/delete", &controllers.OptionsController{}, "Post:Delete")
	beego.Router("options/edit/?:id", &controllers.OptionsController{}, "Get,Post:Edit")

	//erp 品牌管理
	beego.Router("brand/index", &controllers.BrandController{}, "get:Index")
	beego.Router("brand/datagrid", &controllers.BrandController{}, "Get,Post:DataGrid")
	beego.Router("brand/delete", &controllers.BrandController{}, "Post:Delete")
	beego.Router("brand/edit/?:id", &controllers.BrandController{}, "Get,Post:Edit")

	//erp 仓库管理
	beego.Router("warehouse/index", &controllers.WarehouseController{}, "get:Index")
	beego.Router("warehouse/datagrid", &controllers.WarehouseController{}, "Get,Post:DataGrid")
	beego.Router("warehouse/delete", &controllers.WarehouseController{}, "Post:Delete")
	beego.Router("warehouse/edit/?:id", &controllers.WarehouseController{}, "Get,Post:Edit")

	//erp 供应商
	beego.Router("suppliers/index", &controllers.SuppliersController{}, "get:Index")
	beego.Router("suppliers/datagrid", &controllers.SuppliersController{}, "Get,Post:DataGrid")
	beego.Router("suppliers/delete", &controllers.SuppliersController{}, "Post:Delete")
	beego.Router("suppliers/edit/?:id", &controllers.SuppliersController{}, "Get,Post:Edit")

	//erp 类别管理
	beego.Router("class/index", &controllers.ErpClassController{}, "get:Index")
	beego.Router("class/datagrid", &controllers.ErpClassController{}, "Get,Post:DataGrid")
	beego.Router("class/delete", &controllers.ErpClassController{}, "Post:Delete")
	beego.Router("class/edit/?:id", &controllers.ErpClassController{}, "Get,Post:Edit")

	//erp 产品管理
	beego.Router("product/index", &controllers.ProductsController{}, "get:Index")
	beego.Router("product/datagrid", &controllers.ProductsController{}, "Get,Post:DataGrid")
	beego.Router("product/datagrid/extdep", &controllers.ProductsController{}, "Post:DataGridForExtDep")
	beego.Router("product/delete", &controllers.ProductsController{}, "Post:Delete")
	beego.Router("product/edit/?:id", &controllers.ProductsController{}, "Get,Post:Edit")
	beego.Router("product/select", &controllers.ProductsController{}, "Post,Get:SelectProducts")
	beego.Router("product/get_options.json", &controllers.ProductsController{}, "Post:GetOptions")
	beego.Router("product/snd", &controllers.ProductsController{}, "Get,Post:Snd")
	beego.Router("product/snd/status", &controllers.ProductsController{}, "Post:SndStatus")
	beego.Router("product/snd/insert", &controllers.ProductsController{}, "Get,Post:SndInsert")
	beego.Router("product/snd/update", &controllers.ProductsController{}, "Get,Post:SndUpdate")
	beego.Router("product/snd/list", &controllers.ProductsController{}, "Get,Post:SndList")
	beego.Router("product/price/?:id", &controllers.ProductsController{}, "Get,Post:Price")
	beego.Router("product/price/edit", &controllers.ProductsController{}, "Get,Post:PriceEdit")
	beego.Router("product/price/add", &controllers.ProductsController{}, "Get,Post:PriceAdd")
	beego.Router("product/price/add/snd", &controllers.ProductsController{}, "Post:PriceAddSnd")
	beego.Router("product/price/delete", &controllers.ProductsController{}, "Get,Post:PriceDelete")
	beego.Router("product/price/snd", &controllers.ProductsController{}, "Post:PriceSnd")

	//产品属性
	beego.Router("/productsattribute/index", &controllers.ProductsattributeController{}, "*:Index")
	beego.Router("/productsattribute/datagrid", &controllers.ProductsattributeController{}, "Get,Post:DataGrid")
	beego.Router("/productsattribute/delete", &controllers.ProductsattributeController{}, "Post:Delete")
	beego.Router("/productsattribute/edit/?:id", &controllers.ProductsattributeController{}, "Get,Post:Edit")

	//erp 入出库
	beego.Router("/entry/index", &controllers.ErpEntryController{}, "get:Index")
	beego.Router("/entry/datagrid", &controllers.ErpEntryController{}, "Get,Post:DataGrid")
	beego.Router("/entry/edit/?:id", &controllers.ErpEntryController{}, "Get,Post:Edit")
	beego.Router("/entry/save", &controllers.ErpEntryController{}, "Post:Save")
	beego.Router("/entry/save_entry_data", &controllers.ErpEntryController{}, "Post:SaveEntryData") //保存采购明细
	beego.Router("/entry/view/?:id", &controllers.ErpEntryController{}, "Get:View")
	beego.Router("/entry/delete", &controllers.ErpEntryController{}, "Post:Delete")
	beego.Router("/entry/delete_temp", &controllers.ErpEntryController{}, "Post:DeleteTemp") //删除临时数据
	beego.Router("/entry/auditing/?:id", &controllers.ErpEntryController{}, "Get,Post:Auditing")
	beego.Router("/entry/svae_auditing", &controllers.ErpEntryController{}, "Post:SaveAuditing")    //保存审核
	beego.Router("/entry/reconciliation", &controllers.ErpEntryController{}, "Post:Reconciliation") //对帐
	beego.Router("/entry/prints/?:id", &controllers.ErpEntryController{}, "Get:Prints")
	beego.Router("/entry/select_suppliers", &controllers.ErpEntryController{}, "Get:SelectSuppliers")                          //选择供应商
	beego.Router("/entry/lens_range_slider", &controllers.ErpEntryController{}, "Get:LensRangeSlider")                         //选择光度
	beego.Router("/entry/lens_bivariate", &controllers.ErpEntryController{}, "Get,Post:LensBivariate")                         //选择二维表
	beego.Router("/entry/get_middle_data", &controllers.ErpEntryController{}, "Post:GetMiddleData")                            //选择中间表数据
	beego.Router("/entry/del_middle_data", &controllers.ErpEntryController{}, "Post:DeleteMiddleData")                         //选择中间表数据
	beego.Router("/entry/mounting_add", &controllers.ErpEntryController{}, "Get,Post:MountingAdd")                             //光学镜架
	beego.Router("/entry/presbyopic_range_slider", &controllers.ErpEntryController{}, "Get:PresbyopicRangeSlider")             //成品镜光度
	beego.Router("/entry/other_add", &controllers.ErpEntryController{}, "Get,Post:OtherAdd")                                   //显示其它
	beego.Router("/entry/drugs_add", &controllers.ErpEntryController{}, "Get,Post:DrugsAdd")                                   //显示药品
	beego.Router("/entry/submit_order", &controllers.ErpEntryController{}, "Post:SubmitOrder")                                 //提交订单
	beego.Router("/entry/acceptance", &controllers.ErpEntryController{}, "Get,Post:Acceptance")                                //采购验收
	beego.Router("/entry/accept_list/?:id", &controllers.ErpEntryController{}, "Get,Post:AcceptList")                          //采购验收详情
	beego.Router("/entry/save_acceptance", &controllers.ErpEntryController{}, "Post:SvaeAcceptance")                           //保存验收详情
	beego.Router("/entry/take_typeid_entry_data", &controllers.ErpEntryController{}, "Post:TakeTypeIdGetEntryData")            //获取验收数据
	beego.Router("/entry/take_type_id_accept_entry_data", &controllers.ErpEntryController{}, "Post:TakeTypeIdAcceptEntryData") //获取验收采购数据
	beego.Router("/entry/warehousing", &controllers.ErpEntryController{}, "Get,Post:Warehousing")                              //采购入库
	beego.Router("/entry/warehousing_list/?:id", &controllers.ErpEntryController{}, "Get,Post:WarehousingList")                //采购详情
	beego.Router("/entry/save_warehousing", &controllers.ErpEntryController{}, "Get,Post:SaveWarehousing")                     //保存入库
	beego.Router("/entry/query_warehousing", &controllers.ErpEntryController{}, "Get,Post:QueryWarehousing")                   //入库查询
	beego.Router("/entry/warehousing_details/?:id", &controllers.ErpEntryController{}, "Get,Post:WarehousingDetails")          //入库明细
	beego.Router("/entry/security", &controllers.ErpEntryController{}, "Get,Post:Security")                                    //安全库存
	beego.Router("/entry/security/confirm", &controllers.ErpEntryController{}, "Get,Post:SecurityConfirm")                     //库存确认
	beego.Router("/entry/security/save", &controllers.ErpEntryController{}, "Get,Post:SecuritySave")                           //生成采购单

	//验收
	beego.Router("/acceptance/index", &controllers.AcceptanceController{}, "Get,Post:Index")          //验收查询
	beego.Router("/acceptance/details/?:id", &controllers.AcceptanceController{}, "Get,Post:Details") //验收明细
	//冲红
	beego.Router("/entryreturn/flushing", &controllers.EntryreturnController{}, "Get,Post:Flushing")                     //冲红入库
	beego.Router("/entryreturn/details/?:id", &controllers.EntryreturnController{}, "Get,Post:Details")                  //冲红入库明细
	beego.Router("/entryreturn/save_flushing", &controllers.EntryreturnController{}, "Post:SaveFlushing")                //冲红明细
	beego.Router("/entryreturn/query_flushing", &controllers.EntryreturnController{}, "Get,Post:QueryFlushing")          //冲红查询
	beego.Router("/entryreturn/flushing_details/?:id", &controllers.EntryreturnController{}, "Get,Post:FlushingDetails") //冲红明细
	//退货
	beego.Router("/entryreturn/retreat", &controllers.EntryreturnController{}, "Get,Post:Retreat")                             //采购退货
	beego.Router("/entryreturn/select_suppliers", &controllers.EntryreturnController{}, "Get:SelectSuppliers")                 //选择供应商
	beego.Router("/entryreturn/save", &controllers.EntryreturnController{}, "Post:Save")                                       //保存生成单据
	beego.Router("/entryreturn/del_rereat", &controllers.EntryreturnController{}, "Post:DelRereat")                            //删除退库
	beego.Router("/entryreturn/edit/?:id", &controllers.EntryreturnController{}, "Get,Post:Edit")                              //采购退货
	beego.Router("/entryreturn/select_entry", &controllers.EntryreturnController{}, "Get,Post:SelectEntry")                    //选择库存
	beego.Router("/entryreturn/submit_order", &controllers.EntryreturnController{}, "Post:SubmitOrder")                        //保存订单信息
	beego.Router("/entryreturn/submit_order_data", &controllers.EntryreturnController{}, "Post:SubmitOrderData")               //保存订单明细
	beego.Router("/entryreturn/get_middle_data", &controllers.EntryreturnController{}, "Post:GetMiddleData")                   //选择中间表数据
	beego.Router("/entryreturn/get_middle_data_for_entry", &controllers.EntryreturnController{}, "Post:GetMiddleDataForEntry") //按中间表数据获取明细
	beego.Router("/entryreturn/del_middle_data", &controllers.EntryreturnController{}, "Post:DeleteMiddleData")                //删除中间表数据
	beego.Router("/entryreturn/view/?:id", &controllers.EntryreturnController{}, "Get:View")                                   //查看详情
	beego.Router("/entryreturn/entryreturn_data", &controllers.EntryreturnController{}, "Post:EntryreturnData")                //查看明细
	beego.Router("/entryreturn/confirmout", &controllers.EntryreturnController{}, "Post,Get:Confirmout")                       //确认出库
	beego.Router("/entryreturn/view_out/?:id", &controllers.EntryreturnController{}, "Post,Get:ViewOut")                       //出库

	//库存
	beego.Router("inventory/check_entry", &controllers.InventoryController{}, "Post:CheckEntry")                     //检查库存
	beego.Router("inventory/get_inventory_product", &controllers.InventoryController{}, "Post:GetInventoryProduct")  //erp 选择库存产品
	beego.Router("inventory/retail_inventory", &controllers.InventoryController{}, "Post:GetRetailInventoryProduct") //销售特定库存
	beego.Router("inventory/inventory", &controllers.InventoryController{}, "Post,Get:Inventory")                    //erp 库存产品
	beego.Router("inventory/flowing", &controllers.InventoryController{}, "Post,Get:Flowing")                        //erp 库存流水
	beego.Router("inventory/excel_inventory", &controllers.InventoryController{}, "Post:ExcelInventory")             //下载库存盘点
	beego.Router("inventory/show_inventory", &controllers.InventoryController{}, "Post:ShowInventory")               //获取库存数据

	//报损
	beego.Router("/badreport/badreport", &controllers.BadreportController{}, "Post,Get:Badreport")                        //商品报损
	beego.Router("/badreport/choose_trader", &controllers.BadreportController{}, "Post,Get:ChooseTrader")                 //生成报损单
	beego.Router("/badreport/badreport_add/?:id", &controllers.BadreportController{}, "Post,Get:BadreportAdd")            //报损商品添加
	beego.Router("/badreport/badreport_delete", &controllers.BadreportController{}, "Post:BadreportDelete")               //报损单删除
	beego.Router("/badreport/badreport_add_to_goods", &controllers.BadreportController{}, "Post,Get:BadreportAddToGoods") //报损单添加产品
	beego.Router("/badreport/badreport_get_to_goods", &controllers.BadreportController{}, "Post,Get:BadreportGetToGoods") //报损单明细&删除
	beego.Router("/badreport/badreport_view/?:id", &controllers.BadreportController{}, "Post,Get:BadreportView")          //查看报损单据
	beego.Router("/badreport/badreport_auditing", &controllers.BadreportController{}, "Post:BadreportAuditing")           //报损单据审核
	beego.Router("/badreport/view_goods_all", &controllers.BadreportController{}, "Get,Post:ViewGoodsAll")                //查看所有报损商品
	beego.Router("/badreport/badreport_exec", &controllers.BadreportController{}, "Get,Post:BadreportExec")               //报损单执行
	beego.Router("/badreport/badreport_exec/view/?:id", &controllers.BadreportController{}, "Get,Post:BadreportExecView") //报损单执行明细
	beego.Router("/badreport/badreport_exec/exactly", &controllers.BadreportController{}, "Post:BadreportExecExactly")    //确定执行&驳回单据

	//库存盘点
	beego.Router("stock/create/?:id", &controllers.StocksController{}, "Get,Post:Create")          //新增盘点
	beego.Router("stock/save", &controllers.StocksController{}, "Post:Save")                       //新增盘点
	beego.Router("stock/save_list/?:id", &controllers.StocksController{}, "Get,Post:SaveList")     //输出商品库存明细
	beego.Router("stock/save_detail", &controllers.StocksController{}, "Post:SaveDetail")          //保存盘点明细
	beego.Router("stock/profit_loss/?:id", &controllers.StocksController{}, "Get,Post:ProfitLoss") //确定损益表
	beego.Router("stock/save_profit_loss", &controllers.StocksController{}, "Post:SaveProfitLoss") //执行损益表
	beego.Router("stock/records", &controllers.StocksController{}, "Get,Post:Records")             //盘点记录
	beego.Router("stock/prints/?:id", &controllers.StocksController{}, "Get,Post:Prints")          //打印盘点
	beego.Router("stock/export/?:id", &controllers.StocksController{}, "Post:Exports")             //导出盘点
	beego.Router("stock/delete", &controllers.StocksController{}, "Post:Delete")                   //删除盘点
	beego.Router("stock/printer", &controllers.StocksController{}, "Get,Post:Printer")             //盘存打印
	//养护
	beego.Router("/curing/plan_list", &controllers.CuringController{}, "Get,Post:PlanList")                                        //养护计划
	beego.Router("/curing/plan_create", &controllers.CuringController{}, "Get,Post:PlanCreate")                                    //新增养护计划
	beego.Router("/curing/curing_product_list/?:id", &controllers.CuringController{}, "Get,Post:CuringProductList")                //养护产品列表
	beego.Router("/curing/set_product_curing_status", &controllers.CuringController{}, "Post:SetProductCuringDataStatus")          //设置所选产品养护状态
	beego.Router("/curing/curing_product_check/?:id", &controllers.CuringController{}, "Get,Post:CuringProductCheck")              //检查养护商品
	beego.Router("/curing/curing_product_check_save", &controllers.CuringController{}, "Post:CuringProductCheckSave")              //保存检查养护商品
	beego.Router("/curing/curing_product_check_detail/?:id", &controllers.CuringController{}, "Get,Post:CuringProductCheckDetail") //检查养护商品明细

	//GSP
	beego.Router("/gsp/entry", &controllers.GspController{}, "Get,Post:Entry")                       //采购记录
	beego.Router("/gsp/acceptance", &controllers.GspController{}, "Get,Post:Acceptance")             //验收记录
	beego.Router("/gsp/warehousing", &controllers.GspController{}, "Get,Post:Warehousing")           //入库记录
	beego.Router("/gsp/entryreturn", &controllers.GspController{}, "Get,Post:Entryreturn")           //采退记录
	beego.Router("/gsp/curing_plan", &controllers.GspController{}, "Get,Post:CuringPlan")            //养护计划清单
	beego.Router("/gsp/curing_check", &controllers.GspController{}, "Get,Post:CuringCheck")          //养护计划检查清单
	beego.Router("/gsp/neareffect", &controllers.GspController{}, "Get,Post:Neareffect")             //近效催销表
	beego.Router("/gsp/quality", &controllers.GspController{}, "Get,Post:Quality")                   //器械质量档案维护
	beego.Router("/gsp/quality_insert", &controllers.GspController{}, "Get,Post:QualityInsert")      //新增器械质量档案维护
	beego.Router("/gsp/quality_update/?:id", &controllers.GspController{}, "Get,Post:QualityUpdate") //修改器械质量档案维护
	beego.Router("/gsp/ProductsDataGrid", &controllers.GspController{}, "Get,Post:ProductsDataGrid") //获取指定类型产品信息

	//库存调拨
	beego.Router("allocation/index", &controllers.AllocationController{}, "Post,Get:Index")
	beego.Router("allocation/create/choosetrader", &controllers.AllocationController{}, "Post,Get:ChooseTrader")
	beego.Router("allocation/create", &controllers.AllocationController{}, "Post,Get:Create")
	beego.Router("allocation/delete", &controllers.AllocationController{}, "Post:Delete")
	beego.Router("allocation/middle/list", &controllers.AllocationController{}, "Post:GetMiddleList")
	beego.Router("allocation/middle/delete", &controllers.AllocationController{}, "Post:DeleteMiddleData")
	beego.Router("allocation/middle/get_data", &controllers.AllocationController{}, "Post:GetMiddleDataForEntry")
	beego.Router("allocation/select_entry", &controllers.AllocationController{}, "Get,Post:SelectEntry")                     //选择库存
	beego.Router("allocation/select_entry/pop", &controllers.AllocationController{}, "Get,Post:PopSelectEntry")              //选择库存
	beego.Router("allocation/select/inventory", &controllers.AllocationController{}, "Post:SelectErpInventory")              //选择门店库存
	beego.Router("allocation/bivariatetable", &controllers.AllocationController{}, "Get,Post:Bivariatetable")                //输出二维表
	beego.Router("allocation/bivariatetable/len", &controllers.AllocationController{}, "Get:BivariatetableLen")              //重选光度
	beego.Router("allocation/submit/order_data", &controllers.AllocationController{}, "Post:SubmitOrderData")                //保存明细
	beego.Router("allocation/submit_order", &controllers.AllocationController{}, "Post:SubmitOrder")                         //提交单据
	beego.Router("allocation/return", &controllers.AllocationController{}, "Post:ReturnAllocation")                          //退回单据
	beego.Router("allocation/confirm", &controllers.AllocationController{}, "Post:ConfirmAllocation")                        //确认调拨
	beego.Router("allocation/view/?:id", &controllers.AllocationController{}, "Get,Post:View")                               //查看盘点
	beego.Router("allocation/warehousing", &controllers.AllocationController{}, "Get,Post:Warehousing")                      //确认调拨
	beego.Router("allocation/warehousing/view/?:id", &controllers.AllocationController{}, "Get,Post:WarehousingView")        //查看待确认信息
	beego.Router("allocation/warehousing/return", &controllers.AllocationController{}, "Post:WarehousingReturnAllocation")   //接收退回
	beego.Router("allocation/warehousing/confirm", &controllers.AllocationController{}, "Post:WarehousingConfirmAllocation") //确认接收
	beego.Router("allocation/prints/?:id", &controllers.AllocationController{}, "Get,Post:Prints")                           //打印调拨单

	//数据统计
	beego.Router("statistics/retail", &controllers.StatisticsController{}, "Post,Get:Retail")                  //销售汇总
	beego.Router("statistics/retail_detailed", &controllers.StatisticsController{}, "Post,Get:RetailDetailed") //销售明细
	beego.Router("statistics/entry", &controllers.StatisticsController{}, "Post,Get:Entry")                    //出入库汇总
	beego.Router("statistics/entry_detailed", &controllers.StatisticsController{}, "Post,Get:EntryDetailed")   //出入库明细
	beego.Router("statistics/operate", &controllers.StatisticsController{}, "Post,Get:Operate")                //运营报表
	beego.Router("statistics/presc", &controllers.StatisticsController{}, "Post,Get:Presc")                    //门诊汇总
	beego.Router("statistics/stock", &controllers.StatisticsController{}, "Post,Get:Stock")                    //库存汇总

	//检查项目
	beego.Router("inspects/index", &controllers.InspectsController{}, "Post,Get:Index")                   //项目管理
	beego.Router("inspects/delete", &controllers.InspectsController{}, "Post:Delete")                     //停启用
	beego.Router("inspects/edit/?:id", &controllers.InspectsController{}, "Post,Get:Edit")                //新增
	beego.Router("inspects/edit_price/?:id", &controllers.InspectsController{}, "Post,Get:EditPrice")     //调价
	beego.Router("inspects/edit_price_record", &controllers.InspectsController{}, "Post:EditPriceRecord") //调价日志

	//短信
	beego.Router("sms/send_dialog", &controllers.SmsController{}, "Post,Get:SendDialog") //弹窗发送

	//输入建议
	beego.Router("input_diagnosis/index", &controllers.InputDiagnosisController{}, "Post,Get:Index")
	beego.Router("input_diagnosis/diagnosis_add_often", &controllers.InputDiagnosisController{}, "Post:DiagnosisAddOften")

	//微信配置
	beego.Router("wechat/setings", &controllers.WechatController{}, "Get,Post:Setings")
	beego.Router("wechat/setmenu", &controllers.WechatController{}, "Get,Post:SetMenu")
	beego.Router("wechat/edit_menu/?:id", &controllers.WechatController{}, "Get,Post:EditMenu")
	beego.Router("wechat/del_menu", &controllers.WechatController{}, "Post:DelMenu")
	beego.Router("wechat/create_menu", &controllers.WechatController{}, "Post:CreateMenu")
	beego.Router("wechat/message", &controllers.WechatController{}, "Get,Post:Message")
	beego.Router("wechat/edit_message/?:id", &controllers.WechatController{}, "Get,Post:EditMessage")
	beego.Router("wechat/del_message", &controllers.WechatController{}, "Post:DelMessage")
	beego.Router("wechat/editor_upload", &controllers.WechatController{}, "Post:EditorUpload")
	beego.Router("wechat/follows", &controllers.WechatController{}, "Get,Post:Follows")
	//beego.Router("wechat/binduser/stop", &controllers.WechatController{}, "Post:StopBinduser")

	//用户角色路由
	beego.Router("/role/index", &controllers.RoleController{}, "*:Index")
	beego.Router("/role/datagrid", &controllers.RoleController{}, "Get,Post:DataGrid")
	beego.Router("/role/edit/?:id", &controllers.RoleController{}, "Get,Post:Edit")
	beego.Router("/role/delete", &controllers.RoleController{}, "Post:Delete")
	beego.Router("/role/datalist", &controllers.RoleController{}, "Post:DataList")
	beego.Router("/role/allocate", &controllers.RoleController{}, "Post:Allocate")
	beego.Router("/role/updateseq", &controllers.RoleController{}, "Post:UpdateSeq")

	//资源路由
	beego.Router("/resource/index", &controllers.ResourceController{}, "*:Index")
	beego.Router("/resource/datagrid", &controllers.ResourceController{}, "POST:DataGrid")
	beego.Router("/resource/treegrid", &controllers.ResourceController{}, "POST:TreeGrid")

	beego.Router("/resource/edit/?:id", &controllers.ResourceController{}, "Get,Post:Edit")
	beego.Router("/resource/parent", &controllers.ResourceController{}, "Post:ParentTreeGrid")
	beego.Router("/resource/delete", &controllers.ResourceController{}, "Post:Delete")
	//快速修改顺序
	beego.Router("/resource/updateseq", &controllers.ResourceController{}, "Post:UpdateSeq")

	//通用选择面板
	beego.Router("/resource/select", &controllers.ResourceController{}, "Get:Select")
	//用户有权管理的菜单列表（包括区域）
	beego.Router("/resource/usermenutree", &controllers.ResourceController{}, "POST:UserMenuTree")
	beego.Router("/resource/checkurlfor", &controllers.ResourceController{}, "POST:CheckUrlFor")

	//后台用户路由
	beego.Router("/backenduser/index", &controllers.BackendUserController{}, "*:Index")
	beego.Router("/backenduser/datagrid", &controllers.BackendUserController{}, "POST:DataGrid")
	beego.Router("/backenduser/edit/?:id", &controllers.BackendUserController{}, "Get,Post:Edit")
	beego.Router("/backenduser/delete", &controllers.BackendUserController{}, "Post:Delete")

	//部门管理
	beego.Router("/department/index", &controllers.DepartmentController{}, "get:Index")
	beego.Router("/department/datagrid", &controllers.DepartmentController{}, "Get,Post:DataGrid")
	beego.Router("/department/delete", &controllers.DepartmentController{}, "Post:Delete")
	beego.Router("/department/edit/?:id", &controllers.DepartmentController{}, "Get,Post:Edit")
	beego.Router("/department/manage/list", &controllers.DepartmentController{}, "Post:GetDepListForManage")

	//后台用户中心
	beego.Router("/usercenter/profile", &controllers.UserCenterController{}, "Get:Profile")
	beego.Router("/usercenter/basicinfosave", &controllers.UserCenterController{}, "Post:BasicInfoSave")
	beego.Router("/usercenter/uploadimage", &controllers.UserCenterController{}, "Post:UploadImage")
	beego.Router("/usercenter/passwordsave", &controllers.UserCenterController{}, "Post:PasswordSave")

	beego.Router("/home/index", &controllers.HomeController{}, "*:Index")
	beego.Router("/home/clear_cache", &controllers.HomeController{}, "get:ClearCache")
	beego.Router("/home/404", &controllers.HomeController{}, "*:Page404")
	beego.Router("/home/error/?:error", &controllers.HomeController{}, "*:Error")

	beego.Router("/login", &controllers.LoginController{}, "*:Login")
	beego.Router("/login/dologin", &controllers.LoginController{}, "Post:DoLogin")
	beego.Router("/login/logout", &controllers.LoginController{}, "*:Logout")

	beego.Router("/", &controllers.HomeController{}, "*:Index")
}
